package com.yuexunit.account.action.v2.model;

import com.yuexunit.web.annotation.Parameter;


/**
 * 帐号信息 
 * @author wangjinshui
 */
public class Account {
	@Parameter(description="帐号ID")
	private Long accountId;

	@Parameter(description="姓名")
	private String fullName;

	@Parameter(description="身份证号码")
	private String idCardNo;

	@Parameter(description="手机")
	private String mobile;

	@Parameter(description="邮箱")
	private String email;

	@Parameter(description="性别：0-未知；1-男；2-女")
	private Integer gender;

	@Parameter(description="生日(yyyy-mm-dd)")
	private String birthday;

	@Parameter(description="头像UUID")
	private String pictureUuid;
	
	@Parameter(description="帐号在应用中的角色")
	private Integer appRoleType;

	
	public Long getAccountId() {
		return accountId;
	}

	public void setAccountId(Long accountId) {
		this.accountId = accountId;
	}

	public String getFullName() {
		return fullName;
	}

	public void setFullName(String fullName) {
		this.fullName = fullName;
	}

	public String getIdCardNo() {
		return idCardNo;
	}

	public void setIdCardNo(String idCardNo) {
		this.idCardNo = idCardNo;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getGender() {
		return gender;
	}

	public void setGender(Integer gender) {
		this.gender = gender;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getPictureUuid() {
		return pictureUuid;
	}

	public void setPictureUuid(String pictureUuid) {
		this.pictureUuid = pictureUuid;
	}
	
	public Integer getAppRoleType() {
		return appRoleType;
	}

	public void setAppRoleType(Integer appRoleType) {
		this.appRoleType = appRoleType;
	}
	

	@Override
	public String toString() {
		StringBuffer result = new StringBuffer();
		
		result.append(getClass().getName())
			.append(": accountId=").append(accountId)
			.append(", fullName='").append(fullName).append("'")
			.append(", idCardNo='").append(idCardNo).append("'")
			.append(", mobile='").append(mobile).append("'")
			.append(", email='").append(email).append("'")
			.append(", gender=").append(gender)
			.append(", birthday=").append(birthday)
			.append(", pictureUuid='").append(pictureUuid).append("'")
			.append(", appRoleType=").append(appRoleType)
			;
		
		return result.toString();
	}
}
